package nginx.hash.springboot.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/user")
@RestController
public class UserController {
  
  /**
   * 通过list 接口直接返回数据
   *
   * @auther: lihh
   */
  @GetMapping("/str")
  public String list() {
    return "我是服务器222";
  }
}
